package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
 import java.io.Serializable;
 /**
 * <p>
 *
 * </p>
 *
 * @author lian
 * @since 2016-12-22
 */
@TableName("user_coin")
public class UserCoin extends Model<UserCoin> {
 	private static final long serialVersionUID = 1L;
 	/**
	 * 用户ID
	 */
	@TableId
	private String userid;
	/**
	 * 用户金币数量
	 */
	@TableField(value="hongmeng_coin")
	private Integer hongmengCoin;
 	@Override
	public String toString() {
		return "UserCoin{" +
				"userid='" + userid + '\'' +
				", hongmengCoin=" + hongmengCoin +
				'}';
	}
 	public String getUserid() {
		return userid;
	}
 	public void setUserid(String userid) {
		this.userid = userid;
	}
 	public Integer getHongmengCoin() {
		return hongmengCoin;
	}
 	public void setHongmengCoin(Integer hongmengCoin) {
		this.hongmengCoin = hongmengCoin;
	}
 	@Override
	protected Serializable pkVal() {
		return this.userid;
	}
 }
